package torres.fileIO;

public class BasicContainer extends PropertyContainer{
	
	String name;
	Object value;
	VarTypeEnum type;
	
	public BasicContainer(String name, Object value) {
		
		this.name = name;
		this.value = value;
		//if(value == null)
			
		
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Object getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
	
	public String toString() {
		String outputString;
		outputString = "<"+name+"> ";
		System.out.println(name);
		outputString += "<value>" + value.toString() + "</value> ";
		outputString += "</"+name+">\n";
		
		return outputString;
	}
	

}
